package cn.com.zh.app.common.util;

public class ResultVO<T> {

	/**
	 * code:0/1
	 * default 0 success
	 */
	private String code="000000";
	/**
	 * message
	 * default: 成功
	 */
	private String message="成功";
	/**
	 * data
	 */
	private T body;
	
	public ResultVO() {}

	public ResultVO(String code,String message,T body) {
		this.body=body;
		this.code=code;
		this.message=message;
	}
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public T getBody() {
		return body;
	}

	public void setBody(T body) {
		this.body = body;
	}

}
